﻿using FirstFloor.ModernUI.Windows.Controls;
using LEShortcut.Helper;

namespace LEShortcut.Dialogs.Xaml
{
    /// <summary>
    ///     Interaction logic for MultipleCreateConfirmDialog.xaml
    /// </summary>
    public partial class MultipleCreateConfirmDialog : ModernDialog
    {
        public MultipleCreateConfirmDialog(int i)
        {
            InitializeComponent();
            DataContext = string.Format("MultipleCreateConfirmContent".GetI18NString(), i);
            // define the dialog buttons
            Buttons = new[] {OkButton, CancelButton};
            OkButton.Content = "OkButtonContent".GetI18NString();
            CancelButton.Content = "CancelButtonContent".GetI18NString();
        }
    }
}